POST
/
api
/
external
/
v2
/
e-invoices
/
imports
[BETA] Import e-invoices
curl --request POST \
  --url https://app.pennylane.com/api/external/v2/e-invoices/imports \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form type=customer \
  --form file=@example-file
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data

Response

201
application/json

E-invoice imported successfully

The response is of type object.